package jobteam.contacteventstocalendar;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.widget.TabHost;

public class ContactsListTabHost extends TabActivity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.sub);
		TabHost tabHost = getTabHost();


		Intent hasNoEventContactsListIntent = new Intent().setClass(this, hasNoEventContactsList.class);
		Intent hasEventContactsListIntent = new Intent().setClass(this, hasEventContactsList.class);

		tabHost.addTab(tabHost.newTabSpec("Tab1").setIndicator(
				getResources().getString(R.string.Has_no_event_list)).setContent(hasNoEventContactsListIntent));
		tabHost.addTab(tabHost.newTabSpec("Tab2").setIndicator(
				getResources().getString(R.string.Has_event_list)).setContent(hasEventContactsListIntent));

	}
}